package com.onlygx.dva.web.ui.entity.dto;

import java.util.Date;

import com.onlygx.dva.mysql.entity.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 角色表 分页查询对象
 * </p>
 *
 * @author GaoXiang
 * @since 2023-08-04
 * @version V1.0
 */
@Data
@ApiModel(value="BaseRole 分页查询对象", description="角色表分页查询对象，支持自定义排序")
public class BaseRoleSearchDTO extends PageParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "租户（组织、企业）id")
    private String organId;

    @ApiModelProperty(value = "角色标识")
    private String code;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "状态 1可用 0禁用")
    private Integer status;

    @ApiModelProperty(value = "类型：1-超级管理员；2-普通角色")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
